require 'middleclass'
require 'Display'

Collector = class('Collector', Display)

function Collector:initialize(imageSheet, sheet, x, y)
    local disObj = display.newImageRect(imageSheet,sheet ,20,20)
    disObj.x = x
    disObj.y = y
    Display.initialize(self, disObj) 
    physics.addBody( self.body, { isSensor = true } )
end
